Do not retrive user's api key if no api key was provided

Reduces redis interaction, see #142