Merge pull request #146 from akkie/master

Tests for CredentialsProvider
Return Try instead of throwing an exception
Reformat project
Set correct package
Clean build.sbt
Clean build.sbt
Merge pull request #148 from akkie/try_for_sp

Return Try instead of throwing an exception