Small refactoring + added #decodeSignedCookie method