Make sure users can't borrow too many books

The problem was related to consortia.

Fixes #25.