Symbolize hash keys for login script

If we aren't sure whether `username` is given as a symbol or string, perhaps we could check for both.