Setting password to be username if none is defined