Updated libraries, added function for retrieving cached auth-key

Aaand some other things which are not *that* important...