Api authentication interceptor and login service

Adds service that are needed for #15 to be implemented.
Either way works for me. Perhaps it easier for get the client branch done and I can merge in the changes. Would you be able to look into that now? If not, then I will try cherry pick the commit.