Api authentication interceptor and login service

Adds service that are needed for #15 to be implemented.