Fix API login after I7c957e1e

Prior to change I7c957e1e, API logins were done as if the "keep me
logged in" checkbox was checked. That change altered this for no
apparent reason.

Bug: 64727
Change-Id: I7fcca2a1eabcac3b2c232cd05d9989af85cc3ed0
(cherry picked from commit 2036b0d551611e5ff034818a64b4d1991ee6fbe0)