Switched authentication of application