Add bypass for GAPI authorize modal.

Set up a handler for the GAPI modal that has it log in when the user gets presented with the prompt; also refactors the "fill out username/password" step.