[app] Do not ask for authorisation when not needed.

Closes #6.