Use rawLogin for equality.
Allow login property to be nil.