Add naive implementation of user password check by calling su command. Also change some authentication method to require username to be string instead of optional string