OAuth improvement when logging on